<!DOCTYPE html>
<html>
<head>
    <title>信用卡列表</title>
    <#include "/header.html">
    <link type="text/css" rel="stylesheet" href="${request.contextPath}/statics/plugins/layui/css/layui.css">
    <style>
        th {
            text-align: center;
        }

        .form-control {
            margin-left: 5px;
        }
    </style>

</head>
<body>
<div id="rrapp" v-cloak>
    <div v-show="showList">
        <div class="grid-btn">
            <form class="form-inline">
                <div class="form-group ">
                    <input type="text"  class="form-control" v-model="q.name"
                           placeholder="请输入姓名" >
                    <input type="text"  class="form-control" v-model="q.phone"
                           placeholder="请输入手机号码" >
                    <input type="button" class="btn btn-default form-control" @click="query"  value="查询"/>
                    <input type="button" class="btn btn-default form-control" @click="clean" value="刷新"/>
                    <input type="button" class="btn btn-default form-control" @click="update" value="修改"/>
                </div>

            </form>

        </div>
        <table id="jqGrid"></table>

        <div id="jqGridPager"></div>
    </div>


    <div v-show="showUpdate" class="panel panel-default">
        <div class="panel-heading">{{title}}</div>
        <form class="form-horizontal">
            <div class="form-group">
                <div class="col-sm-2 control-label"> 银行卡id</div>
                <div class="col-sm-10">
                    <input type="text"  class="form-control" v-model="bank.bankId"/>
                </div>
            </div>



            <div class="form-group">
                <div class="col-sm-2 control-label">银行名称:</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="bank.bankName"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">银行卡号:</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="bank.bankNo"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">户主姓名:</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="bank.cardName"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label"></div>
                <input type="button" class="btn btn-primary" @click="modify" value="确定"/>
                &nbsp;&nbsp;<input type="button" class="btn btn-warning" @click="reload" value="返回"/>
            </div>
        </form>
    </div>

</div>


<script src="${request.contextPath}/statics/js/modules/bankCard/list.js?_${.now?long}"></script>
<script src="${request.contextPath}/statics/plugins/layui/layui.js"></script>

</body>
</html>